package com.example.composetutorial

import androidx.compose.foundation.layout.Box
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview

@Composable
fun MyText (name: String) {
    Text(
        text = "Hello $name!",

    )
    Box{

        /*for (i=0;i++;i<3){}*/


    }
}
@Preview
@Composable
fun MyTextPreview() {
    MyText ("MyText")
}
/*@Composable
fun BadgedEnvelope(count: Int) {
Envelope(showPaper = count > 0) {
Box {
if (count > 99) {
    Fire()
}
Badge (
text=
if (count >99) "99+"
else "$ count"
)
}
}
}*/
